package com.example.badyloans.servlet;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.badyloans.dao.TUserWalletMapper;
import com.example.badyloans.pojo.TUserWallet;
import com.example.badyloans.servlet.TUserWalletService;
@Service
public class TUserWalletServiceImpl implements TUserWalletService{

    @Resource
    private TUserWalletMapper tUserWalletMapper;

    @Override
    public int deleteByPrimaryKey(String accountId) {
        return tUserWalletMapper.deleteByPrimaryKey(accountId);
    }

    @Override
    public int insertSelective(TUserWallet record) {
        return tUserWalletMapper.insertSelective(record);
    }

    @Override
    public TUserWallet selectByPrimaryKey(String accountId) {
        return tUserWalletMapper.selectByPrimaryKey(accountId);
    }

    @Override
    public int updateByPrimaryKeySelective(TUserWallet record) {
        return tUserWalletMapper.updateByPrimaryKeySelective(record);
    }

}
